package org.csu.mypetstore.domain;

public class AccountOrder {
    private String username;
    private String itemid;
    private String productid;
    private String description;
    private String instock;
    private String listprice;
    private String totalcost;
    private int quantity;


    public AccountOrder() {}
    public AccountOrder(String username, String itemid, String productid, String description, String instock, int quantity,String listprice,String totalcost) {
        this.username = username;
        this.itemid = itemid;
        this.productid = productid;
        this.description = description;
        this.instock = instock;
        this.listprice = listprice;
        this.totalcost = totalcost;
        this.quantity = quantity;
    }

    // Getter 和 Setter 方法
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getInstock() {
        return instock;
    }

    public void setInstock(String instock) {
        this.instock = instock;
    }

    public String getListprice() {
        return listprice;
    }

    public void setListprice(String listprice) {
        this.listprice = listprice;
    }

    public String getTotalcost() {
        return totalcost;
    }

    public void setTotalcost(String totalcost) {
        this.totalcost = totalcost;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
